package com.wlc;

import com.alibaba.nacos.api.annotation.NacosProperties;
import com.alibaba.nacos.api.config.annotation.NacosProperty;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * Hello world!
 */
@SpringBootApplication
/*@EnableEurekaClient*/
@EnableDiscoveryClient
public class BootApp {
    public static void main(String[] args) {
       /* int port = 8021;
        new SpringApplicationBuilder(BootApp.class).properties("server.port=" + port).run(args);*/
        SpringApplication.run(BootApp.class, args);
    }
}
